package ScreensManager.GameScreens 
{
	import flash.events.MouseEvent;
	import ScreensManager.Screen;
	import ScreensManager.Screens;
	
	/**
	 * ...
	 * @author Danilo Gama
	 */
	public class Intro extends Screen
	{
		
		public function Intro()
		{
			Main.getInstance().stage.addEventListener(MouseEvent.MOUSE_DOWN, onClick, false, 0, true);
		}
		
		override public function drawScreen():void
		{
			this.x = Main.getInstance().stage.stageWidth / 2;
			this.y = Main.getInstance().stage.stageHeight / 2;
			Main.getInstance().addChild(this);
		}
		
		public function onClick(e:MouseEvent):void
		{
			Main.ChangeScreen(Screens.MAIN_MENU);
		}
	}
}